import http from '@/utils/http';


/** 导图分类编辑 */
export async function postGraphCategoryAdd(data) {
    return http.post('/graph/category/add', data);
}
export async function postGraphCategoryEdit(data) {
    return http.post('/graph/category/edit', data);
}
export async function getGraphCategoryDel(params) {
    return http.get('/graph/category/del', params);
}
/** 多轮分类编辑 */
export async function postDialogCategoryAdd(data) {
    return http.post('/dialog/category/add', data);
}
export async function postDialogCategoryEdit(data) {
    return http.post('/dialog/category/edit', data);
}
export async function getDialogCategoryDel(params) {
    return http.get('/dialog/category/del', params);
}
/** 表单分类编辑 */
export async function postFormCategoryAdd(data) {
    return http.post('/form/category/add', data);
}
export async function postFormCategoryEdit(data) {
    return http.post('/form/category/edit', data);
}
export async function getFormCategoryDel(params) {
    return http.get('/form/category/del', params);
}